package com.bjqh.edu.Bean;

import android.os.Parcel;
import android.os.Parcelable;

/**
 * Created by Administrator on 2017/10/19.
 */

public class Getoken implements Parcelable {

    /**
     * msg : success
     * status : 200
     * token : WnZ6mx7oIB5ulX8KpEKUnePHUpoz7SEDfWA4mhYQSgICvzqVTeIyQA
     */

    private String msg;
    private int status;
    private String token;

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeString(this.msg);
        dest.writeInt(this.status);
        dest.writeString(this.token);
    }

    public Getoken() {
    }

    protected Getoken(Parcel in) {
        this.msg = in.readString();
        this.status = in.readInt();
        this.token = in.readString();
    }

    public static final Parcelable.Creator<Getoken> CREATOR = new Parcelable.Creator<Getoken>() {
        @Override
        public Getoken createFromParcel(Parcel source) {
            return new Getoken(source);
        }

        @Override
        public Getoken[] newArray(int size) {
            return new Getoken[size];
        }
    };
}
